﻿using PTop.Front.Data.Entity;
using System.Data.Entity;

namespace PTop.Front.Data.Context
{
    public class MyDbContext : DbContext
    {
        public MyDbContext() : base("name=MyDbContext") { }
        public DbSet<RecruitEntity> Recruits { get; set; }
        public DbSet<CandidateEntity> Candidates { get; set; }
        public DbSet<ContactEntity> Contacts { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}